#ifndef __BUOLA_GUI_DND_CX11DNDFILTER_H__
#define __BUOLA_GUI_DND_CX11DNDFILTER_H__

#include <buola/gui/x11/auto.h>
#include <buola/gui/x11/cx11dispatcher.h>

namespace buola { namespace gui { namespace x11 {

class CX11DndFilter : public x11::CX11EventFilter
{
public:
    CX11DndFilter();

    void SetCurrentDrag(CDrag*);

protected:
    bool OnX11ClientMessage(XClientMessageEvent*);

    CDrag *mCurrentDrag;
    CDrop *mCurrentDrop;
};

/*namespace x11*/ } /*namespace gui*/ } /*namespace buola*/ }

#endif
